package day240730;

public class MyDay {
    private String day;
    private MyDay(String day) {
           this.day = day;
    }
    public static final MyDay MONDAY = new MyDay("MONDAY");
    public static final MyDay TUESDAY = new MyDay("TUESDAY");
    public static final MyDay WEDNESDAY = new MyDay("WEDNESDAY");
    public static final MyDay THURSDAY = new MyDay("THURSDAY");
    public static final MyDay FRIDAY = new MyDay("FRIDAY");
    public static final MyDay SATURDAY = new MyDay("SATURDAY");
    public static final MyDay SUNDAY = new MyDay("SUNDAY");

    public String toString() {
        return this.day;
    }
}
